<div id="add_form" class="largebloc2">
	<h3><?php echo __('add_receiptbook'); ?></h3>
	<table>
		<?php echo $form->create('Receiptbook', array('action' => 'add')); ?>
		<tr>
			<td>
				<?php echo $form->input('Receiptbook.name', array('error'=>'Please supply a name for this receiptbook.', 'label'=>__('name', true))); ?>
			</td>
		</tr>
		<tr>
			<td>
				<?php echo $form->input('Receiptbook.amount', array('error'=>'Please supply an amount for this receiptbook.', 'label'=>__('amount', true))); ?>
			</td>
		</tr>
		<tr>
			<td><?php echo $form->label(__('company', true)); ?>
				<?php echo $form->select('Receiptbook.company_id', $format->buildClientArr($clientList), null,
						array('id'=>'ClientList', 'style'=>'width:150px;'),
						$showEmpty = __('nonee', true)); ?>
			</td>
		</tr>
		<tr>
			<td><?php echo $form->label(__('project', true)); ?>
				<?php echo $form->select('Receiptbook.project_id', $format->buildProjectArr($projectList), null,
						array('id'=>'ProjectList', 'style'=>'width:150px;'),
						$showEmpty = __('nonee', true)); ?>
			</td>
		</tr>
		<tr>
			<td><?php echo $form->submit(__('validate', true)); ?></td>
			<td><?php echo $html->link(__('cancel', true), ''); ?></td>
		</tr>
		<?php echo $form->end(); ?>
	</table>
</div>